package com.jic.manager.entity;

import com.jic.manager.entity.model.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 * 渠道表
 * </p>
 *
 * @author fengrui
 * @since 2020-10-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Channel extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 渠道编码
     */
    private String channelCode;

    /**
     * 渠道名称
     */
    private String channelName;

    /**
     * 渠道类型 1自建渠道 2，第三方电商
     */
    private String channelType;

    /**
     * 渠道商标
     */
    private String channelIcon;

    /**
     * 渠道模式 1BBC 2 O2O
     */
    private String channelMode;

    /**
     * 线下线上：1线上 0 线下
     */
    private String isOnline;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 是否可用:0否;1是
     */
    private Boolean status;

    /**
     * 店铺ID
     */
    private Long storeId;

    private List<Long> deptIds;
}